package com.tgy.entity;

import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * (Blog)实体类
 *
 * @author
 * @since 2021-12-31 09:50:24
 */
@ToString
public class Blog implements Serializable {
    private static final long serialVersionUID = -76669728285673801L;
    /**
     * 博客id
     */
    private String id;
    /**
     * 博客标题
     */
    private String title;
    /**
     * 博客作者
     */
    private String author;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 浏览量
     */
    private Integer views;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

}

